package com.wego.service;

import com.wego.common.base.BaseService;
import com.wego.entity.domain.Category;
import com.wego.entity.domain.Province;

import java.util.List;

/**
 * @className: CategoryService
 * @description: TODO 类描述 
 * @author: Kuangkeli
 * @date: 2023/07/10 17:03
 **/

public interface CategoryService extends BaseService<Category> {

    List<Category> selectAll();

    /**
     * 查询指定父类别下的子类别
     * @param pid
     * @return
     */
    List<Category> selectCategoryByPid(Long pid);

    Long getCounts();
}
